package com.cssl.service;

import com.cssl.pojo.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface GoodsService {
    List<Goods> index_findAll();

    List<Goods> index_findByType(@Param("t_id") Integer t_id);

    Goods index_findById(@Param("gid") Integer gid);

    List<Goods> shop_findByType(@Param("t_id") Integer t_id, @Param("order") String order);

    List<Goods> shop_mainserch(Map<String, Object> map);

    List<Goods> shop_changeOrder(@Param("order") String order);

    List<Goods> daily_push();
}
